{"version":3,"file":"user-field.map.js","names":["BX","namespace","UI","EntityUserFieldType","string","integer","double","boolean","money","date","datetime","enumeration","employee","crm","crmStatus","file","url","EntityUserFieldManager","this","_id","_settings","_entityId","_fieldEntityId","_enableSelection","_enableCreation","_creationSignature","_creationPageUrl","_activeFields","_validationEnabled","_validationResult","_validationPromise","_enableMandatoryControl","_config","_contextParams","prototype","initialize","id","settings","type","isNotEmptyString","util","getRandomString","prop","getInteger","getString","getBoolean","getObject","EntityEditorControlFactory","registerFactoryMethod","createEditorControl","bind","addCustomEvent","params","eventArgs","methods","isSelectionEnabled","isCreationEnabled","isModificationEnabled","isMandatoryControlEnabled","getDefaultFieldLabel","typeId","message","getFieldPrefix","getAdditionalTypeList","isArray","getTypeInfos","items","push","name","title","legend","additionalList","i","length","USER_TYPE_ID","TITLE","LEGEND","event","Event","BaseEvent","data","types","EventEmitter","emit","Type","getData","getCreationPageUrl","controlId","EntityEditorUserField","create","createField","fieldData","mode","addFieldLabel","promise","Promise","onSuccess","result","fulfill","prefix","Date","getTime","toString","hasOwnProperty","EntityEditorMode","view","Main","UF","ViewManager","add","FIELDS","EditManager","onCustomEvent","window","updateField","fields","update","resolveFieldName","fieldInfo","value","languages","getArray","language","prepareSchemeElementSettings","originalTitle","required","createSchemeElement","EntitySchemeElement","updateSchemeElement","element","getTitle","mergeSettings","registerActiveField","field","getName","registerField","getFieldInfo","getFieldNode","unregisterActiveField","unRegisterField","setValidationEnabled","isEnabled","validate","names","delegate","onValidationComplete","setTimeout","results","clearError","showError","addError","EntityValidationError","self","getById","EntityUserFieldLayoutLoader","_mode","_enableBatchMode","_owner","_items","get","getId","getOwner","addItem","item","run","startRequest","runBatch","FORM","CONTEXT","Manager","getView","onRequestComplete","getEdit","callback","getFunction","superclass","constructor","apply","_innerWrapper","_isLoaded","_focusOnLoad","isClickBinded","extend","EntityEditorField","doInitialize","_manager","_editor","getUserFieldManager","getModeSwitchType","EntityEditorModeSwitchType","common","edit","button","content","getContentWrapper","_schemeElement","getDataParam","getFieldType","getFieldSettings","isMultiple","getEntityValueId","getFieldValue","getValue","getFieldSignature","isTitleEnabled","info","typeName","checkIfNotEmpty","fieldValue","defaultValue","undefined","_model","getField","hasContentToDisplay","checkOptionFlag","EntityEditorControlOptions","showAlways","indexOf","layout","options","_hasLayout","signature","ensureWrapperCreated","adjustWrapper","isNeedToDisplay","registerLayout","fieldType","addClass","_wrapper","isDragEnabled","appendChild","createDragButton","createTitleNode","props","className","isContextMenuEnabled","createContextMenuButton","initializeDragDropAbilities","html","toUpperCase","setupContentHtml","loader","isInSingleEditMode","enableBatchMode","fieldParams","clone","isObject","ownerToken","encodeURIComponent","adjustFieldParams","onLayoutLoaded","document","createTextNode","doRegisterLayout","isLayoutContext","isPlainObject","save","focus","doFocus","Factory","then","onLayoutSuccess","doSetActive","_isActive","rollback","bindDelegate","tag","_changeHandler","querySelector","onEmployeeSelectorOpen","markAsChanged","addExternalEventsHandlers","doClearLayout","removeExternalEventsHandlers","proxy","userFieldExternalChangedHandler","userFieldSetValidatorHandler","removeCustomEvent","fieldId","isFunction","release","raiseLayoutEvent","e","getEventTarget","match","selector","Intranet","UserFieldEmployee","instance","EntityEditorUserFieldListItem","EntityEditorFieldConfiguratorEnumItem","prepareData","_labelInput","trim","VALUE","_data","xmlId","UserFieldTypeMenu","_isOpened","_topScrollButton","_bottomScrollButton","_bottomButtonMouseOverHandler","onBottomButtonMouseOver","_bottomButtonMouseOutHandler","onBottomButtonMouseOut","_topButtonMouseOverHandler","onTopButtonMouseOver","_topButtonMouseOutHandler","onTopButtonMouseOut","_scrollHandler","throttle","onScroll","_enableScrollToBottom","_enableScrollToTop","_popup","itemData","UserFieldTypeMenuItem","isOpened","open","anchor","PopupWindow","autoHide","draggable","offsetLeft","offsetTop","noAllPaddings","bindOptions","forceBindPosition","closeByEsc","events","onPopupShow","onPopupClose","onPopupDestroy","prepareContent","show","close","scrollIcon","adjust","height","offsetHeight","scrollTop","scrollHeight","removeClass","onItemSelect","getCallback","destroy","unbind","scroll","el","_menu","_value","_text","_legend","_callback","getText","getLegend","wrapper","click","onClick","text","EntityEditorUserFieldConfigurator","_field","_typeId","_isLocked","_saveButton","_cancelButton","_isTimeEnabledCheckBox","_isRequiredCheckBox","_isMultipleCheckBox","_showAlwaysCheckBox","_optionWrapper","_enumConfigurator","_mandatoryConfigurator","EntityEditorFieldConfigurator","checkField","manager","getInputTitle","getInputContainer","attrs","children","layoutInnerConfigurator","innerConfig","listItems","nextNode","enums","ID","XML_ID","fieldSettings","SETTINGS","showDisplaySettings","EntityEditorEnumConfigurator","enumInfo","enumItems","isDomNode","display","DISPLAY","layoutInternal","getEditor","canChangeCommonConfiguration","EntityEditorUserFieldEnumConfigurator","innerConfigNextNode","getOptionContainer","getButtonContainer","getInnerConfig","ajax","runAction","configData","response","status","NAME","console","error","isString","isNew","createOption","caption","containerSettings","elements","getButton","prepareLayout","checked","isRequired","isCustomized","setSwitchCheckBox","setLabel","nextSibling","setEnabled","helpCode","prepareSaveParams","arguments","getDisplaySelectValue","getIsRequiredCheckBox","checkBox","style","alignItems","createEnumerationItem","configurator","container","_enumItemContainer","_enumItems"],"sources":["user-field.js"],"mappings":"AAAAA,GAAGC,UAAU,SAEb,UAAUD,GAAGE,GAAGC,sBAAwB,YACxC,CACCH,GAAGE,GAAGC,oBACN,CACCC,OAAQ,SACRC,QAAS,UACTC,OAAQ,SACRC,QAAS,UACTC,MAAO,QACPC,KAAM,OACNC,SAAU,WACVC,YAAa,cACbC,SAAU,WACVC,IAAK,MACLC,UAAW,aACXC,KAAM,OACNC,IAAK,MAEP,CAEA,UAAUhB,GAAGE,GAAGe,yBAA2B,YAC3C,CACCjB,GAAGE,GAAGe,uBAAyB,WAE9BC,KAAKC,IAAM,GACXD,KAAKE,UAAY,CAAC,EAClBF,KAAKG,UAAY,EACjBH,KAAKI,eAAiB,GACtBJ,KAAKK,iBAAmB,KACxBL,KAAKM,gBAAkB,MACvBN,KAAKO,mBAAqB,GAC1BP,KAAKQ,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